
package com.trying.tryCore.api;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <p> Calss Name:  Field.java</p>
 * <p> Description:   </p>
 */
@Target(value={ElementType.FIELD})
@Retention(value=RetentionPolicy.RUNTIME)
public @interface Column {
	String name();
	int length() default 0;
	boolean nullable() default true;
	boolean unique() default false;
	int precision() default 0;
	int scale() default 0;
	String validate() default "";
}
